<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"> 

<h:head></h:head> 
<body> 
<h:form>
<p:panel header="Destino">
<p:panelGrid columns="2" >
<h:outputText value="C&#243;digo" />
<p:inputText id="txtCodigo" value=""/>
<h:outputText value="Nombre" />
<p:inputText id="txtNombre" value=""/>
<h:outputText value="Estado" />
<h:selectOneMenu value=""></h:selectOneMenu>
</p:panelGrid>
<f:facet name="footer">
<p:commandButton id="btnAgregar" value="Agregar"></p:commandButton>
</f:facet>
<f:facet name="footer">
<p:commandButton id="btnCancelar" value="Cancelar"></p:commandButton>
</f:facet>
</p:panel>
<p:dataTable>
<p:column>
<f:facet name="header">C&#243;digo</f:facet>
</p:column>
<p:column>
<f:facet name="header">Nombre</f:facet>
</p:column>
<p:column>
<f:facet name="header">Estado</f:facet>
</p:column>
</p:dataTable>
</h:form>
</body> 
</html>
